package com.xcity.logupload.task;

public abstract class UploadTask {
	
//	@Override
//	public void run() {
//		Resources.getPool().execute(new Runnable() {
//			@Override
//			public void run() {
//				try {
//					upload();
//				} catch (Exception e) {
//					Resources.LOG.error("upload failed", e);
//				}
//			}
//		});
//	}
	
	
	public abstract boolean upload() throws Exception;
	
	public abstract String getLocalFileName();
	public abstract String getRemoteFileName();

}
